package com.canyou.activiti.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 流程部署实体
 *
 * @author fy
 * @date 2021/3/2 17:23
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "ProcessDefinitionVO", description = "流程部署实体分页列表模型")
public class ProcessDefinitionVO {

    @ApiModelProperty(value = "流程部署id")
    private String id;

    @ApiModelProperty(value = "流程部署名称")
    private String name;

    @ApiModelProperty(value = "流程定义key")
    private String key;

    @ApiModelProperty(value = "流程部署描述")
    private String description;

    @ApiModelProperty(value = "流程部署版本")
    private Integer version;

    @ApiModelProperty(value = "资源名称")
    private String resourceName;

    @ApiModelProperty(value = "部署id")
    private String deploymentId;

    @ApiModelProperty(value = "部署时间")
    private Date deployTime;

    @ApiModelProperty(value = "流程部署状态 1 激活 2 挂起")
    private Integer suspensionState;

}
